-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gazette volume number and resource #1836
Conversation
peachjam/models/gazette.py
Outdated
@@ -20,6 +20,7 @@ class Gazette(CoreDocument): | |||
key = models.CharField( | |||
_("key"), max_length=512, null=True, blank=True, db_index=True | |||
) | |||
volume_number = models.IntegerField(_("volume number"), null=True, blank=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed
Looks good. Do you think we should add it to the default gazette listing pages, near where we put the sub-publication or number? maybe in the same td? |
fieldsets[0][1]["fields"].extend( | ||
[ | ||
"volume_number", | ||
"sub_publication", | ||
"supplement", | ||
"supplement_number", | ||
"publication", | ||
] | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added these to the admin as well
This adds the volume number and gazette bulk import resource
closes https://github.com/laws-africa/kenyalaw-pj/issues/76